package com.yq.demo.mapper;

import com.yq.demo.domain.Demo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Entity .domain.Demo
 */
@Mapper
@Repository
public interface DemoMapper extends BaseMapper<Demo> {

    List<Demo> getName(@Param("name") String name);

    int updateDemo(@Param("demo") Demo demo);

    int addDemo(@Param("demo") Demo demo);


}




